package service;

public class Strawberry extends Fruit {

    public Strawberry(double pricePerJin) {
        super(pricePerJin);
    }

    @Override
    public double calculateTotalPrice(int weight) {
        return pricePerJin * weight;
    }
}
